package ch8.Fly;

public class Kite implements Fly {
    private String shape,colour;//形状，颜色

    public Kite(String shape, String colour) {
        this.shape = shape;
        this.colour = colour;
    }

    @Override
    public void fly() {
        System.out.println("小朋友拉着一根长长的风筝线，让这个"+this.colour+"的"
                +this.shape+"风筝在天空盘旋飞舞。");
    }

    public String getShape() {
        return shape;
    }

    public void setShape(String shape) {
        this.shape = shape;
    }

    public String getColour() {
        return colour;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }
}
